<template>
  <div class="hello" >

    <div class="block" >
      <span class="demonstration">hover 触发子菜单</span>
      <el-cascader
        expand-trigger="hover"
        :options="options"
        v-model="selectedOptions2"
        @change="handleChange">
      </el-cascader>
    </div>

  </div>
</template>

<script>
import ElButton from "../../node_modules/element-ui/packages/button/src/button.vue";
export default {
  name: 'HelloWorld',
  data () {
    return {
      options: [],
      selectedOptions: [],
      selectedOptions2: [],

      local_linker: null
    }
  },
  created() {
    test();
    this.$$get('/task/business/type/0').then(res => {
      if (this.checkResponse(res)) {
        this.options = res.data.data;
      }
    })

    this.local_linker = new LXKJ.Linker();
    console.info(this.local_linker);
  },
  methods: {
    handleChange(value) {
      console.log(value);
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
</style>
